package com.hll.client.feign;

import com.hll.client.pojo.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @author: Mr.Hu
 * @create: 2021-03-15 11:07
 */
@FeignClient(value = "user")
public interface UserFeign {

  @GetMapping("/user/all")
  List<User> findAll();
}
